﻿using Quartz;
namespace Blog.Core.Api.HostServices
{
    public class FirstJob : IJob
    {
        /// <summary>
        /// 执行具体的任务
        /// </summary>
        /// <param name="context"></param>
        /// <returns></returns>
        /// <exception cref="NotImplementedException"></exception>
        public Task Execute(Quartz.IJobExecutionContext context)
        {
            return Task.Factory.StartNew(() =>
            {
                System.Console.WriteLine("这是小杜的第一个任务");
            });
        }
    }
}
